package com.example.luckybag.service

import android.accessibilityservice.AccessibilityService
import android.view.accessibility.AccessibilityNodeInfo

/**
 * 文件名： <br/>
 * 描述：抢红包服务的定义 🌝🌝🌝
 *
 * @author wulinran
 * @since 2023/2/10 09:59
 */
abstract class LuckyBagService(service : AccessibilityService) {

    open fun dealClassName(className :String,viewGet: ViewGet){}

    open fun getLuckyBagCard(node: AccessibilityNodeInfo?){}

    open fun openLuckyBag(viewGet: ViewGet){}

    open fun closeLuckyBagDetail(node: AccessibilityNodeInfo?){}


    interface ViewGet{
        fun getRootView(): AccessibilityNodeInfo?
    }
}